<?php
namespace Home\Controller;
use Think\Controller;

class HomeController extends Controller{

	public function islogin(){
		$userinfo=session('home.userinfo');
		if(empty($userinfo)){
			$this->redirect("User/login");
		}
	}
}